package tech.aistar.corejava.day16.generic;

/**
 * @author success
 * @version 1.0
 * @description:本类用来演示:
 * @date 2019/8/5 0005
 */
public class TestMyGeneric {
    public static void main(String[] args) {
       // MyGeneric<Integer,String> generic = new MyGeneric<>(10,"tom");
        MyGeneric<Integer,String> generic = new MyGeneric<>();
        generic.setKey(100);
        generic.setValue("tom");

        System.out.println(generic);
    }
}
